"DESCRIPTION 1"="To see these values, select "Start" | "Settings" | "Control Panel" and click "System"."
"DESCRIPTION 2"="You can create your own computer ;-)."
"DESCRIPTION 3"="NOTICE: "Support URL" and "Local HTML file" require Windows 2000 or above to work properly."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"=" "
"COMMENT 3"="Thanks to CptSiskoX [CptSiskoX@FlashMail.Com] for the Windows 9x part!"
"COMMENT 4"="Thanks to Eniac [star867@earthlink.net] for the "no <Model> text set" bug notice."
'Declaration of some constants
sT="General"
sI="OEMINFO.INI"
sI=GetWinSysDir & sI
'Called when the Plugin is started
Sub Plugin_Initialize
s=IniReadValue(si,st,"Manufacturer")
SetUIElement 1,s
''Cheating OK... but how cares??!?!?!
'removed on 2001/05/03 as many users thought we would REGISTER their system to Microsoft... stupiod
'if IsEmpty(s) then
' SetUIElement 1,"Xteq Systems"
'else
' SetUIElement 1,s
'end if
s=IniReadValue(si,st,"Model")
SetUIElement 2,s
s=IniReadValue(si,st,"SupportURL")
SetUIElement 3,s
s=IniReadValue(si,st,"LocalFile")
SetUIElement 4,s
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call IniWriteValue(si,st,"Manufacturer",s)
s=GetUIElement(2)
Call IniWriteValue(si,st,"Model",s)
s=GetUIElement(3)
Call IniWriteValue(si,st,"SupportURL",s)
s=GetUIElement(4)
Call IniWriteValue(si,st,"LocalFile",s)
Call CheckFile
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub
Sub CheckFile
bDispWarning1=false
s=IniReadValue(si,st,"Manufacturer")
If len(s)=0 then bDispWarning1=true
If bDispWarning1=true then
Call MsgWarning("No <OEM Name> text set, this value is required to have any OEM items displayed. Please set it through the 'General Information' plug-in or your changes will not be visible.")